package com.eunion.web.character.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 推荐专业采用 完整描述填入到 recommend_major中
 * @author changzuzhe
 *
 */
@Entity
@Table(name = "character_class")
public class CharacterClass implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5581602611608287445L;

	
	@Id
	@Column(name = "id")
	@GeneratedValue(strategy = GenerationType.AUTO)
	private int id;
	@Column(name = "name")
	private String name;//人格类型名称
	@Column(name = "recommend_subject")
	private String recommendSubject;//推荐的学科#分割
	@Column(name = "recommend_major")
	private String recommendMajor;//专业推荐以#分割
	@Column(name = "description")
	private String description;//描述
	@Column(name = "alias")
	private String alias;//别名
	
	/**
	 * {@link CharacterOption#getLx()}
	 */
	@Column(name = "value")
	private String value;//人格类型value
	@Column(name = "sslx")
	private String sslx;//所属测试类型 参考字典项中的 hldxgcsfl 霍兰德测试
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRecommendSubject() {
		return recommendSubject;
	}
	public void setRecommendSubject(String recommendSubject) {
		this.recommendSubject = recommendSubject;
	}
	public String getRecommendMajor() {
		return recommendMajor;
	}
	public void setRecommendMajor(String recommendMajor) {
		this.recommendMajor = recommendMajor;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getAlias() {
		return alias;
	}
	public void setAlias(String alias) {
		this.alias = alias;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public String getSslx() {
		return sslx;
	}
	public void setSslx(String sslx) {
		this.sslx = sslx;
	}
	
	public String toString() {
		return "{"
				+ "id:"+ id
				+ ",name:"+ name
				+ ",recommendMajor:"+ recommendMajor
				+ ",alias:"+ alias
				+ ",sslx:"+ id
				+
				"}";
	}
}
